import * as SemiIconSet from '@douyinfe/semi-icons';
import * as SemiIconLabSet from '@douyinfe/semi-icons-lab';
import type { IconProps } from '@douyinfe/semi-icons';

export type SemiIcon = keyof typeof SemiIconSet;
export type SemiIconLab = keyof typeof SemiIconLabSet;
export interface SemiIconProps extends IconProps {
  name: SemiIcon | SemiIconLab;
}

export const SemiIcons = { ...SemiIconSet, ...SemiIconLabSet };
export const IconKeys = Object.keys(SemiIcons);